package com.bwie.list.mapper;

import com.bwie.common.domain.Data1;
import com.bwie.common.domain.Data2;
import com.bwie.common.domain.Data3;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface TestMapper {
    void addData1(Data1 data1);

    Data1 findData1ById(String id);

    void updData1(Data1 data1);

    Data2 findData2ById(String id);


    void addData2(Data2 data2);

    void updData2(Data2 data2);

    Data3 findData3ById(String id);

    void addData3(Data3 data3);

    void updData3(Data3 data3);

    List<Data1> findData1All();

    Data1 findData1ByTime(String dataEndTime);
}
